package com.keya.pull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author huangshuqiang
 * @version 1.0
 * @description: TODO
 * @date 2022/8/31 14:15
 */
@NoArgsConstructor
@Data
@Accessors(chain = true)
@ApiModel(value = "DatasourcePacsVO", description = "数据源PACS对象")
public class DatasourcePacsVO implements Serializable {

    @ApiModelProperty(value = "设备id列表")
    @NotEmpty(message = "设备id列表不能为空")
    private List<Integer> deviceIds;

    @NotNull(message = "状态不能为空")
    @ApiModelProperty(value = "状态：0-启用，1-禁用")
    private Boolean enabled;
}
